package org.lexicon.swpogo

class BuilderExample {

	public static void main (String[] args) {
		
		new RdfBuilder().Model(prefixes: [a:"one", b: "two"]) {
			Resource (uri:"http://one", type:"foaf:Person") {
				Predicate(uri:"foaf:name")	{"John"}
				Predicate(uri:"foaf:knows") {
					Resource(about:"http//r-two", type:"gr:Employee")
					Resource(about:"http//r-three", type:"gr:Employee")
				}
			}
			Resource("http://www.192.com") {
				Predicate("foaf:knows") {
					Resource("people:Will")
				}
			}
		}
		
	}
	
}
